﻿using System.Data.Entity;
using Microsoft.Practices.Unity;

namespace MiniStock.BusinessLogic.EventDispatcher.MessageMap
{
    public class MessageMapDbContext: DbContext
    {
        [InjectionConstructor]
        public MessageMapDbContext(): base()
        {
        }

        public MessageMapDbContext(string connectionString)
            : base(connectionString)
        {
        }

        public DbSet<MessageMapRepositoryEntry> MessageMapEntries { get; set; }
    }
}
